home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / ptolemy / pt-041do.lha / ptolemy / doc / headers / shared < prev    next >
Text File  |  1992-12-05  |  3KB  |  163 lines

  1. .\" Style Macros for Ptolemy documents
  2. .\" Authors: D. G. Messerschmitt and E. A. Lee
  3. .\" Date: 10/7/90
  4. .\" version: @(#)shared    2.11    12/1/92
  5. .EQ
  6. delim off
  7. .EN
  8.  
  9. \." Basic Font size -- Note that eqn size also has to be changed.
  10. .nr BX 12
  11.  
  12. \." Title font
  13. .nr TX 6
  14.  
  15. \." Section header font
  16. .nr SX 6
  17. .nr sf 6
  18.  
  19. \." Header and footer font
  20. .nr HX 5
  21. .nr tp 10
  22. .nr tf 5
  23.  
  24. .\" The following macro sets the point size to the number specified.
  25. .\" Notice that there is no point in trying to reset the equation sizes
  26. .\" using gsize because eqn is run before ditroff, so the macro has not
  27. .\" been expanded eqn runs.
  28. .\" To change the point size from 9 to 10, say, I suggest searching for
  29. .\" all occurrences of 9 in this file and printchap.final.
  30. .de S
  31. .\" Single argument is the point size.
  32. .nr sp \\$1
  33. .nr pp \\$1
  34. .ps \\$1
  35. ..
  36.  
  37. .\" In line font directive.
  38. .\" syntax is \f\*F
  39. .ds F CB
  40.  
  41. .\" One line font directive.
  42. .\" This macro uses the standard font for Ptolemy classes.
  43. .de c
  44. .nr _F \\n(.f
  45. .ul 0
  46. .ft CB
  47. .if \\n(.$ \&\\$1\f\\n(_F\\$2
  48. .rr _F
  49. ..
  50.  
  51. .\" Multi line display directive.
  52. .\" This macro uses the standard font for Ptolemy classes.
  53. .de (c
  54. .ft CB
  55. .sp 0.5
  56. .(b
  57. .S 11
  58. ..
  59. .de )c
  60. .sp 0.5
  61. .)b
  62. .ft R
  63. .S \\n(BX
  64. ..
  65.  
  66. .\" Multi line display directive without the keep
  67. .\" This macro uses the standard font for Ptolemy classes.
  68. .de (d
  69. .ft CB
  70. .sp 0.5
  71. .(l
  72. .S 11
  73. ..
  74. .de )d
  75. .sp 0.5
  76. .)l
  77. .ft R
  78. .S \\n(BX
  79. ..
  80.  
  81. .de BU
  82. .ip \ \ \ \ \ \(bu
  83. ..
  84.  
  85. .de LE
  86. .ip \ \ \ \ \ \ \ \ \ \- 0.75i
  87. ..
  88.  
  89. .\" (Old) Macro for index entries.
  90. .de IE
  91. .tm index \\n(AS-\\n% \\$1
  92. ..
  93.  
  94. .\" "Example" index entry (current same as all others for now)
  95. .de Ie
  96. .tm index_exp \\n(AS-\\n% \\$1
  97. ..
  98.  
  99. .\" "Definition" index entry (current same as all others for now)
  100. .de Id
  101. .tm index_def \\n(AS-\\n% \\$1
  102. ..
  103.  
  104. .\" "Reference" index entry (current same as all others for now)
  105. .de Ir
  106. .tm index_ref \\n(AS-\\n% \\$1
  107. ..
  108.  
  109. .\" Index entry for reference to a star.  .Sr star domain
  110. .de Sr
  111. .if \\n(.$>1 .tm index_star_ref \\n(AS-\\n% \\$1 (\\$2 star)
  112. .if !\\n(.$>1 .tm index_star_ref \\n(AS-\\n% \\$1 (\\*(DO star)
  113. ..
  114.  
  115. .\" Index entry for example of a star.  .Se star domain
  116. .de Se
  117. .if \\n(.$>1 .tm index_star_exp \\n(AS-\\n% \\$1 (\\$2 star)
  118. .if !\\n(.$>1 .tm index_star_exp \\n(AS-\\n% \\$1 (\\*(DO star)
  119. ..
  120.  
  121. .\" The following are included for partial compatibility
  122. .\" with some standard Unix manual pages
  123. .de TP
  124. ..
  125.  
  126. .de PP
  127. .pp
  128. ..
  129.  
  130. .de I
  131. .i "\\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9"
  132. ..
  133.  
  134. .de BO
  135. .b "\\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9"
  136. ..
  137.  
  138. .de B
  139. .ip "\\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7             " 0.5i
  140. ..
  141.  
  142. .de IP
  143. .ip "\\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7             " 0.5i
  144. ..
  145.  
  146. .\" end of macros
  147.  
  148. .\" $
  149. .\"
  150. .\" String definition for the Ptolemy name (for consistency
  151. .\" and easy modification)
  152. .ds PT \f6Ptolemy\fP
  153.  
  154. .\" String definition for the overall version number (for consistency
  155. .\" and easy modification)
  156. .ds PV 0.4
  157. .\"
  158. .\" Formating directives
  159. .ll 6.5i
  160. .EQ
  161. delim $$
  162. .EN
  163.